Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Face Cap Attribute Sets

Labels

ASCII
FaceCapAttributeSet
Binary
fcas ( = 0x66636173 )

Data Format

No data.

Data Size

0

Description

A face cap attribute set is used to attach an attribute set to the surface of a cone or cylinder but not to its caps. This object is used to apply attributes to a cone or cylinder in a way that does not cause them to be inherited by its caps.

Parent Hierarchy

Data, cap data.

Parent Objects

Cone, cylinder (always).

Child Objects

Attribute set (optional). An empty face cap attribute set has no effect.

Example

Container (
    Cylinder ( )
    Caps ( Top )
    Container (
        AttributeSet ( )
        SurfaceShader (...)
    )
    Container (
        FaceCapAttributeSet ( )
        Container (
            AttributeSet ( )
            DiffuseColor ( 1 0 0 )
        )
    )
)

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |